define({ "api": [
  {
    "type": "POST",
    "url": "/back/admin/create",
    "title": "添加管理员",
    "version": "0.0.1",
    "group": "Back_admin",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": "<p>名称</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "password",
            "description": "<p>密码</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "repassword",
            "description": "<p>密码确认</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "role_id",
            "description": "<p>角色ID</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "allowedValues": [
              "0禁用",
              "1启用"
            ],
            "optional": true,
            "field": "status",
            "defaultValue": "1",
            "description": "<p>状态</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    \"name\": \"ad222\",\n    \"password\": \"1234561\",\n    \"repassword\": \"123456\",\n    \"status\": \"1\",\n    \"role_id\": \"1\",   \n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "成功返回:",
          "content": "HTTP/1.1 200 OK\n{\n    \"code\":200,\n    \"msg\":\"操作成功\",\n    \"error\": [],\n    \"data\": []\n}",
          "type": "json"
        }
      ]
    },
    "filename": "./application/controller/back/AdminController.php",
    "groupTitle": "Back_admin",
    "name": "PostBackAdminCreate"
  },
  {
    "type": "POST",
    "url": "/back/admin/delete",
    "title": "删除管理员",
    "version": "0.0.1",
    "group": "Back_admin",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>编号</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    \"id\": \"1\",\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "成功返回:",
          "content": "HTTP/1.1 200 OK\n{\n    \"code\":200,\n    \"msg\":\"操作成功\",\n    \"error\": [],   \n    \"data\": []   \n}",
          "type": "json"
        }
      ]
    },
    "filename": "./application/controller/back/AdminController.php",
    "groupTitle": "Back_admin",
    "name": "PostBackAdminDelete"
  },
  {
    "type": "POST",
    "url": "/back/admin/list",
    "title": "管理员列表",
    "version": "0.0.1",
    "group": "Back_admin",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "id",
            "description": "<p>编号</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "name",
            "description": "<p>名称</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "allowedValues": [
              "-1删除",
              "0禁用",
              "1启用",
              "2禁用+启用",
              "3删除"
            ],
            "optional": true,
            "field": "status",
            "defaultValue": "2",
            "description": "<p>状态</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "page",
            "defaultValue": "1",
            "description": "<p>页码</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "size",
            "defaultValue": "10",
            "description": "<p>每页条数</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    \"id\": \"1\",\n    \"name\": \"ad222\",\n    \"status\": \"2\",\n    \"page\": \"1\",\n    \"size\": \"10\",   \n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>编号</p>"
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "role_id",
            "description": "<p>角色编号</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "role",
            "description": "<p>角色名称</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": "<p>名称</p>"
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>状态</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "status_text",
            "description": "<p>状态值</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "last_login_time",
            "description": "<p>最后登录时间</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "create_time",
            "description": "<p>创建时间</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "update_time",
            "description": "<p>更新时间</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "total",
            "description": "<p>总条数</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功返回:",
          "content": "HTTP/1.1 200 OK\n{\n    \"code\":200,\n    \"msg\":\"操作成功\",\n    \"error\": [],   \n    \"data\": {\n        \"list\": [\n             {\n                 \"id\": 39,\n                 \"role_id\": 1,\n                 \"role\": \"管理员\",\n                 \"name\": \"ad1111\",\n                 \"last_login_time\": \"2019-04-06 10:31:14\",\n                 \"status\": 1,\n                 \"create_time\": \"2019-04-09 17:24:19\",\n                 \"update_time\": \"2019-04-09 17:24:19\",\n                 \"status_text\": \"正常\"\n             },\n        ],\n        \"total\": 6\n    }\n}",
          "type": "json"
        }
      ]
    },
    "filename": "./application/controller/back/AdminController.php",
    "groupTitle": "Back_admin",
    "name": "PostBackAdminList"
  },
  {
    "type": "POST",
    "url": "/back/admin/set_password",
    "title": "设置自己的密码",
    "version": "0.0.1",
    "group": "Back_admin",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "password",
            "description": "<p>密码</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "repassword",
            "description": "<p>密码确认</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    \"password\": \"1234561\",\n    \"repassword\": \"123456\",\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "成功返回:",
          "content": "HTTP/1.1 200 OK\n{\n    \"code\":200,\n    \"msg\":\"操作成功\",\n    \"error\": [],   \n    \"data\": []   \n}",
          "type": "json"
        }
      ]
    },
    "filename": "./application/controller/back/AdminController.php",
    "groupTitle": "Back_admin",
    "name": "PostBackAdminSet_password"
  },
  {
    "type": "POST",
    "url": "/back/admin/update",
    "title": "修改管理员信息",
    "version": "0.0.1",
    "group": "Back_admin",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>编号</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "name",
            "description": "<p>名称</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "password",
            "description": "<p>密码</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "allowedValues": [
              "0禁用",
              "1启用"
            ],
            "optional": true,
            "field": "status",
            "description": "<p>状态</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "role_id",
            "description": "<p>角色</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    \"id\": \"1\",\n    \"name\": \"ad222\",\n    \"password\": \"1234561\",\n    \"status\": \"1\",\n    \"role_id\": \"1\",   \n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "成功返回:",
          "content": "HTTP/1.1 200 OK\n{\n    \"code\":200,\n    \"msg\":\"操作成功\",\n    \"error\": [],   \n    \"data\": []   \n}",
          "type": "json"
        }
      ]
    },
    "filename": "./application/controller/back/AdminController.php",
    "groupTitle": "Back_admin",
    "name": "PostBackAdminUpdate"
  },
  {
    "type": "POST",
    "url": "/back/permission/create",
    "title": "添加路由",
    "version": "0.0.1",
    "group": "Back_permission",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "group_id",
            "description": "<p>组编号</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": "<p>名称</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "path",
            "description": "<p>路径</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "desc",
            "description": "<p>描述</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "allowedValues": [
              "0禁用",
              "1启用"
            ],
            "optional": true,
            "field": "status",
            "defaultValue": "1",
            "description": "<p>状态</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    \"group_id\": 1,\n    \"name\": \"管理员管理\",\n    \"group_id\": \"1\",\n    \"path\": \"/back/permission/create\",\n    \"desc\": \"描述\",\n    \"status\": 1\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "成功返回:",
          "content": "HTTP/1.1 200 OK\n{\n    \"code\":200,\n    \"msg\":\"操作成功\",\n    \"data\": []   \n}",
          "type": "json"
        }
      ]
    },
    "filename": "./application/controller/back/PermissionController.php",
    "groupTitle": "Back_permission",
    "name": "PostBackPermissionCreate"
  },
  {
    "type": "POST",
    "url": "/back/permission/delete",
    "title": "删除路由",
    "version": "0.0.1",
    "group": "Back_permission",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>编号</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    \"id\": 1,\t\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "成功返回:",
          "content": "HTTP/1.1 200 OK\n{\n    \"code\":200,\n    \"msg\":\"操作成功\",\n    \"data\": []   \n}",
          "type": "json"
        }
      ]
    },
    "filename": "./application/controller/back/PermissionController.php",
    "groupTitle": "Back_permission",
    "name": "PostBackPermissionDelete"
  },
  {
    "type": "POST",
    "url": "/back/permission/list",
    "title": "路由列表",
    "version": "0.0.1",
    "group": "Back_permission",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "page",
            "defaultValue": "1",
            "description": "<p>页码</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "limit",
            "defaultValue": "10",
            "description": "<p>每页条数</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>路由组编号</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": "<p>路由组名称</p>"
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "sort",
            "description": "<p>路由组排序</p>"
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>路由组状态码</p>"
          },
          {
            "group": "Success 200",
            "type": "Object[]",
            "optional": false,
            "field": "sub",
            "description": "<p>路由组下的路由</p>"
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "sub.id",
            "description": "<p>路由编号</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "sub.name",
            "description": "<p>路由名称</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "sub.path",
            "description": "<p>路由路径</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "sub.desc",
            "description": "<p>路由描述</p>"
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "sub.status",
            "description": "<p>路由状态码</p>"
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "sub.status_text",
            "description": "<p>路由状态值</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "sub.create_time",
            "description": "<p>路由创建时间</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "sub.update_time",
            "description": "<p>路由更新时间</p>"
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "sub.group_id",
            "description": "<p>路由组编号</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功返回:",
          "content": "HTTP/1.1 200 OK\n{\n    \"code\":200,\n    \"msg\":\"操作成功\",\n    \"data\": {\n        \"list\": [\n            {\n                \"id\": 2,\n                \"name\": \"角色管理\",\n                \"sort\": 0,\n                \"status\": 1,\n                \"status_text\": \"正常\"\n                \"sub\": [\n                    {\n                        \"id\": 6,\n                        \"name\": \"添加路由\",\n                        \"path\": \"/admin/permission/add\",\n                        \"desc\": \"\",\n                        \"status\": 1,\n                        \"create_time\": \"2019-03-11 16:56:57\",\n                        \"update_time\": \"2019-03-11 16:56:57\",\n                        \"group_id\": 2,\n                        \"status_text\": \"正常\"\n                    },\n                ]\n            }\n        ]\n    }\n}",
          "type": "json"
        }
      ]
    },
    "filename": "./application/controller/back/PermissionController.php",
    "groupTitle": "Back_permission",
    "name": "PostBackPermissionList"
  },
  {
    "type": "POST",
    "url": "/back/permission/update",
    "title": "修改路由",
    "version": "0.0.1",
    "group": "Back_permission",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>编号</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "group_id",
            "description": "<p>组编号</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "name",
            "description": "<p>名称</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "path",
            "description": "<p>路径</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "desc",
            "description": "<p>描述</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "allowedValues": [
              "0禁用",
              "1启用"
            ],
            "optional": true,
            "field": "status",
            "description": "<p>状态</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    \"id\": 1,\t\n    \"group_id\": 1,\n    \"name\": \"管理员管理\",\n    \"path\": \"/back/permission/create\",\n    \"desc\": \"描述\",\n    \"status\": 1\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "成功返回:",
          "content": "HTTP/1.1 200 OK\n{\n    \"code\":200,\n    \"msg\":\"操作成功\",\n    \"data\": []   \n}",
          "type": "json"
        }
      ]
    },
    "filename": "./application/controller/back/PermissionController.php",
    "groupTitle": "Back_permission",
    "name": "PostBackPermissionUpdate"
  },
  {
    "type": "POST",
    "url": "/back/permission_group/create",
    "title": "添加路由组",
    "version": "0.0.1",
    "group": "Back_permission_group",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": "<p>名称</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "sort",
            "defaultValue": "0",
            "description": "<p>排序</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "allowedValues": [
              "0禁用",
              "1启用"
            ],
            "optional": true,
            "field": "status",
            "defaultValue": "1",
            "description": "<p>状态</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    \"name\": \"管理员管理\",\n    \"sort\": \"1\",\n    \"status\": \"1\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "成功返回:",
          "content": "HTTP/1.1 200 OK\n{\n    \"code\":200,\n    \"msg\":\"操作成功\",\n    \"data\": []   \n}",
          "type": "json"
        }
      ]
    },
    "filename": "./application/controller/back/PermissionGroupController.php",
    "groupTitle": "Back_permission_group",
    "name": "PostBackPermission_groupCreate"
  },
  {
    "type": "POST",
    "url": "/back/permission_group/delete",
    "title": "删除路由组",
    "version": "0.0.1",
    "group": "Back_permission_group",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>编号</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    \"id\": \"11\",\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "成功返回:",
          "content": "HTTP/1.1 200 OK\n{\n    \"code\":200,\n    \"msg\":\"操作成功\",\n    \"data\": []   \n}",
          "type": "json"
        }
      ]
    },
    "filename": "./application/controller/back/PermissionGroupController.php",
    "groupTitle": "Back_permission_group",
    "name": "PostBackPermission_groupDelete"
  },
  {
    "type": "POST",
    "url": "/back/permission_group/records",
    "title": "路由组列表",
    "version": "0.0.1",
    "group": "Back_permission_group",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "id",
            "description": "<p>编号</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "allowedValues": [
              "-1删除",
              "0禁用",
              "1启用",
              "2禁用+启用"
            ],
            "optional": true,
            "field": "status",
            "defaultValue": "2",
            "description": "<p>状态</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "page",
            "defaultValue": "1",
            "description": "<p>页码</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "size",
            "defaultValue": "10",
            "description": "<p>每页条数</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    \"id\": \"11\",\n    \"status\": 2,\n    \"page\": 1,\n    \"size\": 10\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>编号</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": "<p>名称</p>"
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "sort",
            "description": "<p>排序</p>"
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>状态</p>"
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status_text",
            "description": "<p>状态值</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "total",
            "description": "<p>总条数</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功返回:",
          "content": "HTTP/1.1 200 OK\n{\n    \"code\":200,\n    \"msg\":\"操作成功\",\n    \"data\": {\n        \"list\": [\n            {\n                \"id\": 1,\n                \"name\": \"管理员管理\",\n                \"sort\": 0,\n                \"status\": 1,\n                \"status_text\": \"正常\"\n            },\n        ],\n        \"total\": 6\n    }\n}",
          "type": "json"
        }
      ]
    },
    "filename": "./application/controller/back/PermissionGroupController.php",
    "groupTitle": "Back_permission_group",
    "name": "PostBackPermission_groupRecords"
  },
  {
    "type": "POST",
    "url": "/back/permission_group/update",
    "title": "修改路由组",
    "version": "0.0.1",
    "group": "Back_permission_group",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>编号</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "name",
            "description": "<p>名称</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "sort",
            "description": "<p>排序</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "allowedValues": [
              "0禁用",
              "1启用"
            ],
            "optional": true,
            "field": "status",
            "description": "<p>状态</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    \"id\": \"11\",\n    \"name\": \"管理员管理\",\n    \"sort\": \"1\",\n    \"status\": \"1\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "成功返回:",
          "content": "HTTP/1.1 200 OK\n{\n    \"code\":200,\n    \"msg\":\"操作成功\",\n    \"data\": []   \n}",
          "type": "json"
        }
      ]
    },
    "filename": "./application/controller/back/PermissionGroupController.php",
    "groupTitle": "Back_permission_group",
    "name": "PostBackPermission_groupUpdate"
  },
  {
    "type": "POST",
    "url": "/back/role/create",
    "title": "添加角色",
    "version": "0.0.1",
    "group": "Back_role",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": "<p>名称</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "desc",
            "description": "<p>描述</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "sort",
            "defaultValue": "0",
            "description": "<p>排序</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "allowedValues": [
              "0禁用",
              "1启用"
            ],
            "optional": true,
            "field": "status",
            "defaultValue": "1",
            "description": "<p>状态</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    \"name\": \"管理员管理\",\n    \"desc\": \"管理员管理\",\n    \"sort\": \"1\",\n    \"status\": \"1\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "成功返回:",
          "content": "HTTP/1.1 200 OK\n{\n    \"code\":200,\n    \"msg\":\"操作成功\",\n    \"data\": []   \n}",
          "type": "json"
        }
      ]
    },
    "filename": "./application/controller/back/RoleController.php",
    "groupTitle": "Back_role",
    "name": "PostBackRoleCreate"
  },
  {
    "type": "POST",
    "url": "/back/role/delete",
    "title": "删除角色",
    "version": "0.0.1",
    "group": "Back_role",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>编号</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    \"id\": 1,\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "成功返回:",
          "content": "HTTP/1.1 200 OK\n{\n    \"code\":200,\n    \"msg\":\"操作成功\",\n    \"data\": []   \n}",
          "type": "json"
        }
      ]
    },
    "filename": "./application/controller/back/RoleController.php",
    "groupTitle": "Back_role",
    "name": "PostBackRoleDelete"
  },
  {
    "type": "POST",
    "url": "/back/role/detail",
    "title": "角色详情",
    "version": "0.0.1",
    "group": "Back_role",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "id",
            "description": "<p>编号</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    \"id\": 1,\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>编号</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": "<p>名称</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "desc",
            "description": "<p>描述</p>"
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "sort",
            "description": "<p>排序</p>"
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>状态码</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "status_text",
            "description": "<p>状态值</p>"
          },
          {
            "group": "Success 200",
            "type": "Object[]",
            "optional": false,
            "field": "permission",
            "description": "<p>权限数组</p>"
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "permission.id",
            "description": "<p>编号</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "permission.name",
            "description": "<p>名称</p>"
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "permission.sort",
            "description": "<p>排序</p>"
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "permission.status",
            "description": "<p>状态码</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "permission.status_text",
            "description": "<p>状态值</p>"
          },
          {
            "group": "Success 200",
            "type": "Object[]",
            "optional": false,
            "field": "permission.sub",
            "description": "<p>权限数组</p>"
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "permission.sub.id",
            "description": "<p>编号</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "permission.sub.name",
            "description": "<p>名称</p>"
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "permission.sub.group_id",
            "description": "<p>分编号</p>"
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "permission.sub.status",
            "description": "<p>状态码</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "permission.sub.status_text",
            "description": "<p>状态值</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "permission.sub.path",
            "description": "<p>路径</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "permission.sub.desc",
            "description": "<p>描述</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "permission.sub.create_time",
            "description": "<p>创建时间</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "permission.sub.update_time",
            "description": "<p>更新时间</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "permission.sub.has",
            "description": "<p>是否拥有</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功返回:",
          "content": "HTTP/1.1 200 OK\n{\n    \"code\":200,\n    \"msg\":\"操作成功\",\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"管理员管理1\",\n        \"desc\": \"\",\n        \"sort\": 0,\n        \"permission\": [\n            {\n                \"id\": 1,\n                \"name\": \"创建管理员\",\n                \"sort\": 0,\n                \"status\": 1,\n                \"status_text\": \"正常\",\n                \"sub\": [\n                    {\n                        \"id\": 3,\n                        \"group_id\": 1,\n                        \"name\": \"管理员管理1\",\n                        \"path\": \"/back/admin/create1\",\n                        \"desc\": \"123123\",\n                        \"status\": 1,\n                        \"create_time\": \"2019-05-16 15:34:50\",\n                        \"update_time\": \"2019-05-16 15:34:50\",\n                        \"has\": 1,\n                        \"status_text\": \"正常\"\n                    }\n                 ]\n             }\n         ]\n    }\n}",
          "type": "json"
        }
      ]
    },
    "filename": "./application/controller/back/RoleController.php",
    "groupTitle": "Back_role",
    "name": "PostBackRoleDetail"
  },
  {
    "type": "POST",
    "url": "/back/role/list",
    "title": "角色列表",
    "version": "0.0.1",
    "group": "Back_role",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "id",
            "description": "<p>编号</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "name",
            "description": "<p>名称</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "allowedValues": [
              "-1删除",
              "0禁用",
              "1启用",
              "2禁用+启用"
            ],
            "optional": true,
            "field": "status",
            "defaultValue": "2",
            "description": "<p>状态</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "page",
            "defaultValue": "1",
            "description": "<p>页码</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "size",
            "defaultValue": "10",
            "description": "<p>每页条数</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    \"id\": 1,\n    \"name\": \"管理员管理\",\n    \"status\": \"1\"\n    \"page\": \"1\",\n    \"size\": \"10\",\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>编号</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": "<p>名称</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "desc",
            "description": "<p>描述</p>"
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "sort",
            "description": "<p>排序</p>"
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>状态码</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "status_text",
            "description": "<p>状态值</p>"
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "total",
            "description": "<p>总条数</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功返回:",
          "content": "HTTP/1.1 200 OK\n{\n    \"code\":200,\n    \"msg\":\"操作成功\",\n    \"data\": {\n        \"list\": [\n            {\n                \"id\": 1,\n                \"name\": \"管理员管理\",\n                \"desc\": \"管理员管理\",\n                \"sort\": 0,\n                \"status\": 1,\n                \"status_text\": \"正常\"\n            },\n        ],\n        \"total\": 6\n    }\n}",
          "type": "json"
        }
      ]
    },
    "filename": "./application/controller/back/RoleController.php",
    "groupTitle": "Back_role",
    "name": "PostBackRoleList"
  },
  {
    "type": "POST",
    "url": "/back/role/update",
    "title": "修改角色",
    "version": "0.0.1",
    "group": "Back_role",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>编号</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "name",
            "description": "<p>名称</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "desc",
            "description": "<p>描述</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "sort",
            "description": "<p>排序</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "allowedValues": [
              "0禁用",
              "1启用"
            ],
            "optional": true,
            "field": "status",
            "description": "<p>状态</p>"
          },
          {
            "group": "Parameter",
            "type": "String[]",
            "optional": true,
            "field": "permission",
            "description": "<p>权限数组</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    \"id\": 1,\n    \"name\": \"管理员管理\",\n    \"desc\": \"管理员管理\",\n    \"sort\": \"1\",\n    \"status\": \"1\"\n    \"permission[1]\": \"3\",\n    \"permission[2]\": \"5\",\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "成功返回:",
          "content": "HTTP/1.1 200 OK\n{\n    \"code\":200,\n    \"msg\":\"操作成功\",\n    \"data\": []   \n}",
          "type": "json"
        }
      ]
    },
    "filename": "./application/controller/back/RoleController.php",
    "groupTitle": "Back_role",
    "name": "PostBackRoleUpdate"
  },
  {
    "type": "POST",
    "url": "/common/login",
    "title": "登录",
    "version": "0.0.1",
    "group": "Common",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": "<p>名称</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "password",
            "description": "<p>密码</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "allowedValues": [
              "1管理员",
              "2用户"
            ],
            "optional": false,
            "field": "type",
            "description": "<p>类型</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "verifycode",
            "description": "<p>验证码</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "verifykey",
            "description": "<p>验证码标识</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    \"name\": \"ad222\",\n    \"password\": \"1234561\",\n    \"type\": \"1\",\n    \"verifycode\": \"1123\",\n    \"verifykey\": \"f59bd65f7edafb087a81d4dca06c4910\",\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "成功返回:",
          "content": "HTTP/1.1 200 OK\n{\n    \"code\":200,\n    \"msg\":\"操作成功\",\n    \"error\": [],\n    \"data\": {\n        \"token\": \"142a091442a0647df4a7c39c1cab07e2\"\n    }\n}",
          "type": "json"
        }
      ]
    },
    "filename": "./application/controller/common/LoginController.php",
    "groupTitle": "Common",
    "name": "PostCommonLogin"
  },
  {
    "type": "POST",
    "url": "/common/other/captcha",
    "title": "获取验证码",
    "version": "0.0.1",
    "group": "Common",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "verifykey",
            "description": "<p>验证码标识</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    \"verifykey\": \"f59bd65f7edafb087a81d4dca06c4910\",\n}",
          "type": "json"
        }
      ]
    },
    "filename": "./application/controller/common/OtherController.php",
    "groupTitle": "Common",
    "name": "PostCommonOtherCaptcha"
  }
] });
